home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / JAFO10D.FIX < prev    next >
Text File  |  1993-02-20  |  2KB  |  54 lines

  1. JAFO10D.FIX - One line was incorrect
  2. JAFO #1 @8857
  3. Sat Feb 13 1993 23:31:10
  4. ┌────────────────────────────────────────────────────────────────────────────┐
  5. │ Mod Name      : JAFO10D.FIX (BUG FIX)    Mod Author: JAFO 1@1     TerraNET │
  6. │ Difficulty    : ███▒▒▒▒▒▒▒                                1@8857  IceNET   │
  7. │ WWIV Version  : 4.22                                      1@8861  WWIVnet  │
  8. │ Mod Date      : 02/13/93                                  1@18868 WWIVLink │
  9. │ Files Affected: DIREDIT.C, SR.C, UTILITY.C, XFER.C                         │
  10. │ Description   : Free Download Directories                                  │
  11. └────────────────────────────────────────────────────────────────────────────┘
  12.  
  13. Bug Note:  I'm releasing this bug fix instead of a whole new mod because
  14.            the bug is on a single line!  Users couldn't batch download from
  15.            the last directory.  This has been fixed.
  16.  
  17.            To my knowledge, this fixes all known bugs.  If anyone has ANY
  18.            problems whatsoever with JAFO10D.MOD after installing this one
  19.            line fix, please let me know.
  20.  
  21. ══[ Legend ]══════════════════════════════════════════════════════════════════
  22.  
  23.   =  Existing line - Do not change
  24.   +  Add this line
  25.   -  Remove this line
  26.  
  27. ══[ Step 1 ]══════════════════════════════════════════════════════════════════
  28.  
  29. In XFER.C, do the following changes in "void dliscan1".
  30.  
  31. =   numf=u.numbytes;
  32. =   this_date = u.daten;
  33. =   dir_dates[dn]=this_date;
  34. -   curldir=dn;
  35. +   curldir=udir[dn].subnum;
  36. =
  37. =   sprintf(s,"%s%s.EXT",syscfg.datadir,directories[dn].filename);
  38. =   edlf=open(s,O_RDWR | O_BINARY | O_CREAT, S_IREAD | S_IWRITE);
  39.  
  40. ══[ Step 2 ]══════════════════════════════════════════════════════════════════
  41.  
  42. Compile your source.
  43.  
  44. ══[ Disclaimer ]══════════════════════════════════════════════════════════════
  45.  
  46. Don't complain to me if your board gets fried, your hard disk goes nuts, or
  47. something terrible happens.  The code in this mod should be harmless, but I
  48. can't guarantee it will work for you.  It works on my board.
  49.  
  50. JAFO 1@1     TerraNET
  51.      1@8857  IceNET
  52.      1@8861  WWIVnet
  53.      1@18868 WWIVLink
  54.